<ng-container *ngIf="readonly">
  <ion-item>
    <i class="icon iconfont icon-qianbi1" item-start></i>
    金兰宝
    <ion-note item-end class="color-orange">{{(accountData?.jlb || 0) | number: '1.2-2'}}</ion-note>
  </ion-item>
  <ion-item>
    <i class="icon iconfont icon-icon-zuanshi" item-start></i>
    矿石
    <ion-note item-end class="color-orange">{{(accountData?.ore || 0) | number: '1.2-2'}}</ion-note>
  </ion-item>
  <ion-item>
    <i class="icon iconfont icon-icon-zuanshi" item-start></i>
    待提炼矿石
    <ion-note item-end class="color-orange">{{(accountData?.refineTotalOre || 0) | number: '1.2-2'}}</ion-note>
  </ion-item>
  <ion-item>
    <i class="icon iconfont icon-qianbi" item-start></i>
    激活币
    <ion-note item-end class="color-orange">{{accountData?.actives || 0}}</ion-note>
  </ion-item>
</ng-container>

<ng-container *ngIf="!readonly">
  <button ion-item [navPush]="'JlbPage'">
    <i class="icon iconfont icon-qianbi1" item-start></i>
    金兰宝
    <ion-note item-end class="color-orange">{{(accountData?.jlb || 0) | number: '1.2-2'}}</ion-note>
  </button>
  <button ion-item>
    <i class="icon iconfont icon-qianbi1" item-start></i>
    商城金兰宝
    <ion-note item-end class="color-orange">{{(accountData?.mallTotalJlb || 0) | number: '1.2-2'}}</ion-note>
  </button>
  <button ion-item>
    <i class="icon iconfont icon-ironstone" item-start></i>
    矿石
    <ion-note item-end class="color-orange">{{(accountData?.ore || 0) | number: '1.2-2'}}</ion-note>
  </button>
  <button ion-item [navPush]="'OrePage'">
    <i class="icon iconfont icon-ironstone" item-start></i>
    待提炼矿石
    <ion-note item-end class="color-orange">{{(accountData?.refineTotalOre || 0) | number: '1.2-2'}}</ion-note>
  </button>
  <button ion-item [navPush]="'ActiveRecordPage'">
    <i class="icon iconfont icon-qianbi" item-start></i>
    激活币
    <ion-note item-end class="color-orange">{{(accountData?.actives || 0) | number: '1.2-2'}}</ion-note>
  </button>
</ng-container>
